﻿<UserControl x:Class="JustPlus.LogoutPanel"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="256" d:DesignWidth="512">
    <Grid MouseLeave="Grid_MouseLeave">
        <Grid.Background>
            <SolidColorBrush />
        </Grid.Background>
        <Grid.RenderTransform>
            <TransformGroup>
                <TranslateTransform x:Name="grid_translate"/>
            </TransformGroup>
        </Grid.RenderTransform>
        <Grid.Triggers>
            <EventTrigger RoutedEvent="Grid.Loaded">
                <BeginStoryboard>
                    <Storyboard>
                        <DoubleAnimation Storyboard.TargetName="grid_translate" Storyboard.TargetProperty="X" From="512" To="0" Duration="0:0:0.5"/>
                    </Storyboard>
                </BeginStoryboard>
            </EventTrigger>
        </Grid.Triggers>
        <Label Content="用户信息" Height="47" HorizontalAlignment="Left" Margin="333,12,0,0" Name="label5" VerticalAlignment="Top" Style="{StaticResource GradLabel}" Width="118" FontSize="18" />
        <Label Content="用户名" Height="36" HorizontalAlignment="Left" Margin="63,39,0,0" Name="label1" VerticalAlignment="Top" Width="Auto" FontSize="18" FontWeight="Bold" />
        <Button Content="注销登录" Height="29" HorizontalAlignment="Left" Margin="180,220,0,0" Name="button1" VerticalAlignment="Top" Width="101" Click="button1_Click" />
        <Label Content="累计收听x首" Height="33" HorizontalAlignment="Left" Margin="176,74,0,0" Name="label2" VerticalAlignment="Top" Width="Auto" FontSize="16" />
        <Label Content="加红心x首" Height="33" HorizontalAlignment="Left" Margin="176,112,0,0" Name="label3" VerticalAlignment="Top" Width="Auto" FontSize="16" />
        <Label Content="x首不再播放" Height="33" HorizontalAlignment="Left" Margin="176,147,0,0" Name="label4" VerticalAlignment="Top" Width="Auto" FontSize="16" />
        <Label Content="Label" Height="41" HorizontalAlignment="Left" Margin="135,110,0,0" Name="label6" VerticalAlignment="Top" Width="173" Target="{Binding}" Style="{StaticResource GradLabel}" Opacity="0" />
    </Grid>
</UserControl>
